﻿using System.Web.Mvc;

namespace Admin.Web.Areas.Account
{
    public class TopManagerAreaRegistration : AreaRegistration
    {
        public override string AreaName => "Account";

        public override void RegisterArea(AreaRegistrationContext context)
        {
            context.MapRoute(
                "Account_default",
                "Account/{controller}/{Action}/{id}",
                new { controller = "Auth", action = "Login", id = UrlParameter.Optional }
            );
        }
    }
}
